<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="layout.tld" prefix="e"%>

<e:override name="title">文章 详情</e:override>

<e:override name="content_left">
	<div class="col-md-8">
		<div class="bbox">
			<div class="bc">
				<h1>${msg.title}</h1>

				<div class="media mb20">
					<a class="pull-left"
						href="http://www.thinksaas.cn/user/space/10001/"><img
						class="media-object img-circle" title="开源中国" alt="开源中国"
						src="http://www.thinksaas.cn/cache/user/0/10/120/10001.png"
						width="48" height="48"></a>
					<div class="media-body">
						<h4 class="media-heading">
							<a href="http://www.thinksaas.cn/user/space/10001/">开源中国</a>
						</h4>
						<p class="c9">发表于 ${msg.publishDate}</p>
					</div>
				</div>
				<div class="fs14 lh30">
					${msg.content}

					<div class="tar">
						<a class="btn" href="javascript:void('0');"
							onclick="recommend('48073');">1推荐</a> <a class="btn" href="">1评论</a>
					</div>

				</div>
			</div>

			<div class="bbox">
				<div class="btitle">你的回应</div>
				<div class="bc">
					<ul class="comment">
						<li class="clearfix">
							<div class="user-face">
								<a href="###"><img
									title="堕落的人生" alt="堕落的人生"
									src="http://www.thinksaas.cn/cache/user/0/22/120/22040.png"
									width="48" /></a>
							</div>
							<div class="reply-doc">
								<h4>
									2015-10-10 16:16:25 <a
										href="###">堕落的人生</a>
								</h4>
							</div>
						</li>
					</ul>
					<hr>
					<div class="page"></div>
					<c:choose>
						<c:when test="${OnlineUser != null}">
							<form id="comm-form" method="POST"
								action="<c:url value="/comment/addComment"/>" role="form">
								<div class="form-group">
									<label>评论：</label>
									<textarea name="comment" class="form-control" rows="5"></textarea>
								</div>
								<div class="form-group">
									<input type="hidden" name="fuserid" value="0" /> <input
										type="hidden" name="token"
										value="af2aa04fe0ed42365810977f553e0fb8ff38cd3d" />
									<button id="comm-submit" type="submit"
										class="btn btn-fat btn-success btn-lg btn-block">提交</button>
								</div>
							</form>
						</c:when>
						<c:otherwise>
							<div class="pd20 tac">
								<a href="<c:url value ="/user/login"/>">登录</a> | <a
									href="<c:url value ="/user/register"/>">注册</a>
							</div>
						</c:otherwise>
					</c:choose>

				</div>
			</div>
		</div>
	</div>

</e:override>
<e:override name="more_script">
</e:override>
<%@include file="/articles.jsp"%>

